'''
Created on Jan 27, 2012

@author: TeFa
'''

class SubInfo:
    def __init__(self, subID, title, year, movieID, uploaderID, uploaderName, langID, langName):
        self.subID = subID
        self.title = title
        self.year = year
        self.movieID = movieID
        self.uploaderID = uploaderID
        self.uploaderName = uploaderName
        self.langID = langID
        self.langName = langName
        
    def __str__(self):
        strP = "[#SubID:" + self.subID + ", #Title:" + self.title + ", #Year:" + self.year
        strP += ", #MovieID: " + self.movieID + ", #UploaderID:" + self.uploaderID + ", #UploaderName:" + self.uploaderName
        strP += ", #LangID:" + self.langID + ", #LangName:" + self.langName + "]"
        return strP 